/*
 * dbm_lsdb_handle.h
 *
 *  Created on: 2012-12-14
 *      Author: macro
 */
#include "dbm_conf.h"
#ifndef DBM_LSDB_HANDLE_H_
#define DBM_LSDB_HANDLE_H_
#define ADD_LSA 1
#define UPDATE_LSA 2

struct lsdb_msgheader{
	u_char area_id;
	u_char action;
	u_int16_t length;
};


extern char global_snapshoot[MAX_LSDB_SIZE];
extern int global_snapshoot_len;
int dbm_lsdb_handle(u_char* data,int len);

#endif /* DBM_LSDB_HANDLE_H_ */
